<?php
$strTableName="contacts";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="contacts";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT id,   company_id,   address,   city_id,   port_id,   phone1,   phone2,   fax1,   fax2,   email,   website,   `primary`,   company_name,   pin_code";
$gsqlFrom="FROM contacts";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/contacts_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_contacts;
$eventObj = &$tableEvents["contacts"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>